package com.guangyunl.i_innerclass;
//局部内部类基本操作
public class Person {
    public void eat(){
        class Heart{
            public void jump(){
                System.out.println("心脏哐哐哐的跳");
            }

        }
        new Heart().jump();
    }
}
